package com.wang.springbootinit.model.dto.answer;

import lombok.Data;
import java.util.List;

@Data
public class SubmitAnswerRequest {
    /**
     * 章节id
     */
    private Long chapterId;

    /**
     * 回答集合
     */
    private List<AnswerItem> answers;

    @Data
    public static class AnswerItem {
        /**
         * 题目id
         */
        private Long questionId;

        /**
         * 回答的答案
         */
        private String answer;
    }
} 